#include "typedefs.h"

const PBYTE widtbl_S[104] =
{
        3, 3, 3, 5, 5, 5, 5, 3, 
        3, 3, 5, 5, 2, 5, 1, 5, 
        5, 5, 5, 5, 5, 5, 5, 5, 
        5, 5, 1, 2, 4, 4, 4, 5, 
        5, 5, 5, 5, 5, 5, 5, 5, 
        5, 3, 5, 5, 4, 5, 5, 5, 
        5, 5, 5, 5, 5, 5, 5, 7, 
        5, 5, 5, 3, 5, 3, 5, 5, 
        3, 4, 5, 4, 5, 4, 4, 4, 
        5, 2, 3, 4, 3, 6, 5, 4, 
        5, 5, 5, 4, 3, 5, 5, 5, 
        5, 4, 4, 3, 3, 3, 2, 0, 
        7, 7, 7, 7, 7, 7, 7, 7
};

/* Column format, LSB top */

const PBYTE chr_S_20[3] = { 0x00, 0x00, 0x00 };
const PBYTE chr_S_21[3] = { 0x00, 0x5F, 0x00 };
const PBYTE chr_S_22[3] = { 0x07, 0x00, 0x07 };
const PBYTE chr_S_23[5] = { 0x14, 0x7F, 0x14, 0x7F, 0x14 };
const PBYTE chr_S_24[5] = { 0x26, 0x49, 0x7F, 0x49, 0x32 };
const PBYTE chr_S_25[5] = { 0x63, 0x13, 0x08, 0x64, 0x63 };
const PBYTE chr_S_26[5] = { 0x36, 0x49, 0x00 };
const PBYTE chr_S_27[3] = { 0x04, 0x03, 0x00 };
const PBYTE chr_S_28[3] = { 0x1C, 0x22, 0x41 };
const PBYTE chr_S_29[3] = { 0x41, 0x22, 0x1C };
const PBYTE chr_S_2A[5] = { 0x08, 0x2A, 0x1C, 0x2A, 0x08 };
const PBYTE chr_S_2B[5] = { 0x08, 0x08, 0x3E, 0x08, 0x08 };
const PBYTE chr_S_2C[2] = { 0x80, 0x60 };
const PBYTE chr_S_2D[5] = { 0x08, 0x08, 0x08, 0x08, 0x08 };
const PBYTE chr_S_2E[1] = { 0x40 };
const PBYTE chr_S_2F[5] = { 0x60, 0x10, 0x08, 0x04, 0x03 };
const PBYTE chr_S_30[5] = { 0x3E, 0x51, 0x49, 0x45, 0x3E };
const PBYTE chr_S_31[5] = { 0x00, 0x42, 0x7F, 0x40, 0x00 };
const PBYTE chr_S_32[5] = { 0x62, 0x51, 0x49, 0x49, 0x46 };
const PBYTE chr_S_33[5] = { 0x22, 0x41, 0x49, 0x49, 0x36 };
const PBYTE chr_S_34[5] = { 0x18, 0x14, 0x12, 0x7F, 0x10 };
const PBYTE chr_S_35[5] = { 0x27, 0x49, 0x49, 0x49, 0x31 };
const PBYTE chr_S_36[5] = { 0x3C, 0x4A, 0x49, 0x49, 0x30 };
const PBYTE chr_S_37[5] = { 0x01, 0x71, 0x09, 0x05, 0x03 };
const PBYTE chr_S_38[5] = { 0x36, 0x49, 0x49, 0x49, 0x36 };
const PBYTE chr_S_39[5] = { 0x06, 0x49, 0x49, 0x29, 0x1E };
const PBYTE chr_S_3A[1] = { 0x14 };
const PBYTE chr_S_3B[2] = { 0x80, 0x68 };
const PBYTE chr_S_3C[4] = { 0x08, 0x14, 0x22, 0x41 };
const PBYTE chr_S_3D[4] = { 0x14, 0x14, 0x14, 0x14 };
const PBYTE chr_S_3E[4] = { 0x41, 0x22, 0x14, 0x08 };
const PBYTE chr_S_3F[5] = { 0x02, 0x01, 0x51, 0x09, 0x06 };
const PBYTE chr_S_40[5] = { 0x3E, 0x41, 0x5D, 0x00 };
const PBYTE chr_S_41[5] = { 0x7C, 0x12, 0x11, 0x12, 0x7C };
const PBYTE chr_S_42[5] = { 0x7F, 0x49, 0x49, 0x49, 0x36 };
const PBYTE chr_S_43[5] = { 0x3E, 0x41, 0x41, 0x41, 0x22 };
const PBYTE chr_S_44[5] = { 0x7F, 0x41, 0x41, 0x22, 0x1C };
const PBYTE chr_S_45[5] = { 0x7F, 0x49, 0x49, 0x49, 0x41 };
const PBYTE chr_S_46[5] = { 0x7F, 0x09, 0x09, 0x09, 0x01 };
const PBYTE chr_S_47[5] = { 0x3E, 0x41, 0x49, 0x29, 0x72 };
const PBYTE chr_S_48[5] = { 0x7F, 0x08, 0x08, 0x08, 0x7F };
const PBYTE chr_S_49[3] = { 0x41, 0x7F, 0x41 };
const PBYTE chr_S_4A[5] = { 0x20, 0x40, 0x41, 0x3F, 0x01 };
const PBYTE chr_S_4B[5] = { 0x7F, 0x08, 0x14, 0x22, 0x41 };
const PBYTE chr_S_4C[4] = { 0x7F, 0x40, 0x40, 0x40 };
const PBYTE chr_S_4D[5] = { 0x7F, 0x02, 0x0C, 0x02, 0x7F };
const PBYTE chr_S_4E[5] = { 0x7F, 0x06, 0x08, 0x30, 0x7F };
const PBYTE chr_S_4F[5] = { 0x3E, 0x41, 0x41, 0x41, 0x3E };
const PBYTE chr_S_50[5] = { 0x7F, 0x09, 0x09, 0x09, 0x06 };
const PBYTE chr_S_51[5] = { 0x3E, 0x41, 0x51, 0x21, 0x5E };
const PBYTE chr_S_52[5] = { 0x7F, 0x09, 0x19, 0x29, 0x46 };
const PBYTE chr_S_53[5] = { 0x26, 0x49, 0x49, 0x49, 0x32 };
const PBYTE chr_S_54[5] = { 0x01, 0x01, 0x7F, 0x01, 0x01 };
const PBYTE chr_S_55[5] = { 0x3F, 0x40, 0x40, 0x40, 0x3F };
const PBYTE chr_S_56[5] = { 0x0F, 0x30, 0x40, 0x30, 0x0F };
const PBYTE chr_S_57[7] = { 0x0F, 0x30, 0x40, 0x38, 0x40, 0x30, 0x0F };
const PBYTE chr_S_58[5] = { 0x63, 0x14, 0x08, 0x14, 0x63 };
const PBYTE chr_S_59[5] = { 0x07, 0x08, 0x70, 0x08, 0x07 };
const PBYTE chr_S_5A[5] = { 0x61, 0x51, 0x49, 0x45, 0x43 };
const PBYTE chr_S_5B[3] = { 0x7F, 0x41, 0x41 };
const PBYTE chr_S_5C[5] = { 0x03, 0x04, 0x08, 0x10, 0x60 };
const PBYTE chr_S_5D[3] = { 0x41, 0x41, 0x7F };
const PBYTE chr_S_5E[5] = { 0x08, 0x04, 0x02, 0x04, 0x08 };
const PBYTE chr_S_5F[5] = { 0x40, 0x40, 0x40, 0x40, 0x40 };
const PBYTE chr_S_60[3] = { 0x03, 0x04, 0x00 };
const PBYTE chr_S_61[4] = { 0x20, 0x54, 0x54, 0x78 };
const PBYTE chr_S_62[5] = { 0x7F, 0x28, 0x44, 0x44, 0x38 };
const PBYTE chr_S_63[4] = { 0x38, 0x44, 0x44, 0x28 };
const PBYTE chr_S_64[5] = { 0x38, 0x44, 0x44, 0x28, 0x7F };
const PBYTE chr_S_65[4] = { 0x38, 0x54, 0x54, 0x48 };
const PBYTE chr_S_66[4] = { 0x08, 0x7E, 0x09, 0x02 };
const PBYTE chr_S_67[4] = { 0x98, 0xA4, 0xA4, 0x58 };
const PBYTE chr_S_68[5] = { 0x7F, 0x08, 0x04, 0x04, 0x78 };
const PBYTE chr_S_69[2] = { 0x3D, 0x40 };
const PBYTE chr_S_6A[3] = { 0x80, 0x84, 0x7D };
const PBYTE chr_S_6B[4] = { 0x7F, 0x10, 0x28, 0x44 };
const PBYTE chr_S_6C[3] = { 0x01, 0x7F, 0x00 };
const PBYTE chr_S_6D[6] = { 0x7C, 0x08, 0x04, 0x78, 0x04, 0x78 };
const PBYTE chr_S_6E[5] = { 0x7C, 0x08, 0x04, 0x04, 0x78 };
const PBYTE chr_S_6F[4] = { 0x38, 0x44, 0x44, 0x38 };
const PBYTE chr_S_70[5] = { 0xFC, 0x18, 0x24, 0x24, 0x18 };
const PBYTE chr_S_71[5] = { 0x18, 0x24, 0x24, 0x18, 0xFC };
const PBYTE chr_S_72[5] = { 0x7C, 0x08, 0x04, 0x04, 0x08 };
const PBYTE chr_S_73[4] = { 0x48, 0x54, 0x54, 0x24 };
const PBYTE chr_S_74[3] = { 0x04, 0x3E, 0x44 };
const PBYTE chr_S_75[5] = { 0x3C, 0x40, 0x40, 0x20, 0x7C };
const PBYTE chr_S_76[5] = { 0x1C, 0x20, 0x40, 0x20, 0x1C };
const PBYTE chr_S_77[5] = { 0x3C, 0x40, 0x30, 0x40, 0x3C };
const PBYTE chr_S_78[5] = { 0x44, 0x28, 0x10, 0x28, 0x44 };
const PBYTE chr_S_79[4] = { 0x1C, 0xA0, 0xA0, 0x7C };
const PBYTE chr_S_7A[4] = { 0x64, 0x54, 0x54, 0x4C };
const PBYTE chr_S_7B[3] = { 0x08, 0x36, 0x41 };
const PBYTE chr_S_7C[3] = { 0x00, 0x7F, 0x00 };
const PBYTE chr_S_7D[3] = { 0x41, 0x36, 0x08 };
const PBYTE chr_S_7E[2] = { 0x00, 0x00 };
const PBYTE chr_S_7F[1] = { 0 };
const PBYTE chr_S_80[7] = { 0x1C, 0x22, 0x41, 0x4F, 0x41, 0x22, 0x1C };
const PBYTE chr_S_81[7] = { 0x1C, 0x22, 0x41, 0x49, 0x45, 0x22, 0x1C };
const PBYTE chr_S_82[7] = { 0x1C, 0x22, 0x41, 0x49, 0x49, 0x2A, 0x1C };
const PBYTE chr_S_83[7] = { 0x1C, 0x22, 0x41, 0x49, 0x51, 0x22, 0x1C };
const PBYTE chr_S_84[7] = { 0x1C, 0x22, 0x41, 0x79, 0x41, 0x22, 0x1C };
const PBYTE chr_S_85[7] = { 0x1C, 0x22, 0x51, 0x49, 0x41, 0x22, 0x1C };
const PBYTE chr_S_86[7] = { 0x1C, 0x2A, 0x49, 0x49, 0x41, 0x22, 0x1C };
const PBYTE chr_S_87[7] = { 0x1C, 0x22, 0x45, 0x49, 0x41, 0x22, 0x1C };

const PBYTE * PROGMEM chrtbl_S[104] =
{
           chr_S_20, chr_S_21, chr_S_22, chr_S_23, chr_S_24, chr_S_25, chr_S_26, chr_S_27, 
           chr_S_28, chr_S_29, chr_S_2A, chr_S_2B, chr_S_2C, chr_S_2D, chr_S_2E, chr_S_2F, 
           chr_S_30, chr_S_31, chr_S_32, chr_S_33, chr_S_34, chr_S_35, chr_S_36, chr_S_37, 
           chr_S_38, chr_S_39, chr_S_3A, chr_S_3B, chr_S_3C, chr_S_3D, chr_S_3E, chr_S_3F, 
           chr_S_40, chr_S_41, chr_S_42, chr_S_43, chr_S_44, chr_S_45, chr_S_46, chr_S_47, 
           chr_S_48, chr_S_49, chr_S_4A, chr_S_4B, chr_S_4C, chr_S_4D, chr_S_4E, chr_S_4F, 
           chr_S_50, chr_S_51, chr_S_52, chr_S_53, chr_S_54, chr_S_55, chr_S_56, chr_S_57, 
           chr_S_58, chr_S_59, chr_S_5A, chr_S_5B, chr_S_5C, chr_S_5D, chr_S_5E, chr_S_5F, 
           chr_S_60, chr_S_61, chr_S_62, chr_S_63, chr_S_64, chr_S_65, chr_S_66, chr_S_67, 
           chr_S_68, chr_S_69, chr_S_6A, chr_S_6B, chr_S_6C, chr_S_6D, chr_S_6E, chr_S_6F, 
           chr_S_70, chr_S_71, chr_S_72, chr_S_73, chr_S_74, chr_S_75, chr_S_76, chr_S_77, 
           chr_S_78, chr_S_79, chr_S_7A, chr_S_7B, chr_S_7C, chr_S_7D, chr_S_7E, chr_S_7F, 
           chr_S_80, chr_S_81, chr_S_82, chr_S_83, chr_S_84, chr_S_85, chr_S_86, chr_S_87
};
